MAINTAINERCLEANFILES = Makefile.in
MODULE = eloquence

# data files for the module
filesdir = $(datadir)
files_DATA = \
module.edj \
module.desktop

EXTRA_DIST = $(files_DATA)

# the module .so file
INCLUDES               = -I. \
                         -I$(top_srcdir) \
                         -I$(includedir) \
			 @glib_cflags@ \
#                         -I$(top_srcdir)/$(MODULE) \
#                         -I$(top_srcdir)/src/bin \
#                         -I$(top_srcdir)/src/lib \
#                         -I$(top_srcdir)/src/modules \
                         @e_cflags@
pkgdir                 = $(datadir)/$(MODULE_ARCH)
pkg_LTLIBRARIES        = module.la
module_la_SOURCES      = e_mod_main.c \
                         e_mod_main.h \
                         e_mod_config.c \
                         e_mod_config.h \
			 xmms.c \
			 bmp.c \
			 bmpx.c \
			 audacious.c \
			 amarok.c \
			 mpd.c \
			 xmms2.c
module_la_LIBADD       = @e_libs@ @dlopen_libs@
module_la_LDFLAGS      = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h

